import cv2

image = cv2.imread("../images/opencv_logo.jpg")

crop = image[10:170, 40:200]  # 第 1 次裁剪
print(crop.shape)

crop2 = crop[57:60, 55:60]  # 第 2 次裁剪
print(crop2.shape)
print(crop2)

cv2.imshow("image", image)
cv2.imshow("crop", crop)
cv2.imshow("crop2", crop2)
cv2.waitKey()